﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ControlsLib
{
    public class SortingInfo
    {
        private SortOrder m_sortDirection = SortOrder.None;
        private int m_sortColumn = -1;
        private int m_rowSelected = -1;

        public int RowSelected
        {
            get { return m_rowSelected; }
            set { m_rowSelected = value; }
        }

        public SortOrder SortDirection
        {
            get { return m_sortDirection; }
            set { m_sortDirection = value; }
        }
        
        public int SortColumn
        {
            get { return m_sortColumn; }
            set { m_sortColumn = value; }
        }
                    
        public SortingInfo()
        {

        }

        public SortingInfo(int sortColumn, int rowSelected, SortOrder sortDirection)
        {
            m_sortColumn = sortColumn;
            m_sortDirection = sortDirection;
            m_rowSelected = rowSelected;
        }
    }
}
